package com.nanhai.buddhist.college.module.study.convert.timetable;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.timetable.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.timetable.ClassTimetableDO;

/**
 * 课程 Convert
 *
 * @author xqenzo@163.com
 */
@Mapper
public interface ClassTimetableConvert {

    ClassTimetableConvert INSTANCE = Mappers.getMapper(ClassTimetableConvert.class);

    ClassTimetableDO convert(ClassTimetableCreateReqVO bean);

    ClassTimetableDO convert(ClassTimetableUpdateReqVO bean);

    ClassTimetableRespVO convert(ClassTimetableDO bean);

    List<ClassTimetableRespVO> convertList(List<ClassTimetableDO> list);

    PageResult<ClassTimetableRespVO> convertPage(PageResult<ClassTimetableDO> page);

    List<ClassTimetableExcelVO> convertList02(List<ClassTimetableDO> list);

}
